/*
 * Copyright © 2004-2014 chenYuan. All rights reserved.
 * @Website:wwww.jspx.net
 * @Mail:39793751@qq.com
 * @author: chenYuan , 陈原
 * @License: Jspx.net Framework Code is open source (LGPL)，Jspx.net Framework 使用LGPL 开源授权协议发布。
 * @jvm:jdk1.6+  x86/amd64
 *
 */
package com.jspx.sioc;

import com.jspx.sioc.tag.BeanElement;
import java.util.List;
import java.util.Map;


/**
 * Created by IntelliJ IDEA.
 * User:chenYuan (mail:39793751@qq.com)
 * Date: 2007-2-12
 * Time: 15:56:31
 */
public interface IocContext
{
     void registerBeanElement(Map<String, BeanElement> beanElements,String namespace);

    BeanElement getBeanElement(String beanName, String namespace) throws Exception;

    boolean containsBean(String beanName, String namespace) throws Exception;

    List<BeanElement> getElementList() throws Exception;

   void reload() throws Exception;

    void setConfigFile(String file);

    void setConfigFile(String[] configFile);

    Map<String,String> getExtendMap() throws Exception;

    BeanElement getBeanElementConfig(String beanName, String namespace) throws Exception ;

    Map<String, String> getApplicationMap();
}